#pragma once
#include "Object.h"
#include "RSManager.h"
#include <math.h>
enum WallTurret_state
{
	SIMPLE, START, GUN
};
class WallTurret: public Object
{
private:
	Sprite*_sAngle;
	Sprite*_sSimple;
	Sprite*_sStart;	
	float gundelay;	
	WallTurret_state state;
public:
	void init();
	void update();
	void render();	
	void shoot();
	int getIndex(float _alg);	
	WallTurret(Box* _box);
	~WallTurret();

	virtual Box* getCollisionBox();

};

